<%- include('layout/header.ejs')%>
  <div class="page">
    <div class="rowFluid">
      <div class="span12">
        <div class="main">
          <div class="z_banner news_banner"></div>
          <div class="technical_support">
            <div class="rowFluid">
              <div class="span12">
                <div class="container">
                  <div class="technical_support_content">
                    <div class="span9 col-sm-12 ">
                      <div class="technical_support_list">
                        <div class="technical_support_box">
                          <div class="title">当前位置：<% crumbsData.forEach(item => { %><a href="<%=item.href?item.href:'javascript:;'%>"><%= item.name %></a><%=item.href?' > ':''%><% }) %></div>
                          <h1 class="news_info_title"><%= problemInfoData.title %></h1><% if (answerData.length < 1) { %>
                          <div class="news_info_content" style="color: #888;">没有相关问题的答案...</div><% } else { %>
                          <ul class="answer_list"><% answerData.forEach(item => { %>
                            <li><%- item.answerContent %></li><% }) %>
                          </ul><% } %>
                        </div>
                        <div style="margin: 10px 0;text-align: center;">
                          <div id="pager" class="pager clearfix" style="margin-bottom: 0;"></div>
                        </div>
                      </div>
                    </div>
                    <div class="span3 col-sm-12 ">
                      <div class="technical_support_list">
                        <div class="technical_support_box">
                          <div class="title" style="text-align: center;font-weight: bold;">更多问题</div>
                          <ul><% problemMoreData.forEach(item => { if (item.id != problemInfoData.id) { %>
                            <li>
                              <a href="/cjwtxq/<%= item.id %>.html" title="<%= item.title %>" target="_blank">
                                <div class="text"><%= item.title %></div>
                              </a>
                            </li><% } }) %>
                          </ul>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
          <script type="text/javascript">
            // 分页
            $("#pager").zPager({
              totalData: <%=answerDataTotal%>,
              current: <%=answerDataPageNum%>,
              pageData: <%=answerDataPageSize%>,
              htmlBox: $('#wraper'),
              btnShow: true,
              ajaxSetData: false
            });
            // 当前页出发
            function currentPage (num) {}
          </script>
          <%- include('layout/footer.ejs') %>